package hu.mapro.gwtui.gxt.client.recordseditor;

import hu.mapro.gwtui.shared.data.ClassDataFactory;

import java.util.List;

import com.google.gwt.editor.client.EditorError;
import com.google.gwt.user.client.ui.Widget;

public interface EditorInterface<T> extends ClassDataFactory {

	T getEditingObject();

	boolean isDirty();

	List<EditorError> getErrors();

	boolean hasErrors();

	void flush();
	
	Widget getWidget();
	
	void focus();
	
}